Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unhandled packets disconnecting the client. #3324

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

modmuss50
Copy link
Member

No description provided.

@modmuss50 modmuss50 added bug Something isn't working priority:high High priority PRs that need review and work now. Review these first. labels Sep 18, 2023
@modmuss50 modmuss50 requested review from apple502j and a team September 18, 2023 14:49
try {
return this.handle(payload.id(), payload.data());
} finally {
payload.data().release();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is now correct, it now matches the server network addons.

@modmuss50 modmuss50 added the merge me please Pull requests that are ready to merge label Sep 18, 2023
@liach
Copy link
Contributor

liach commented Sep 18, 2023

Yep, this indeed is an unintended side effect since mojang's networking update, where custom payloads have dedicated buf than the buf straight from netty :)

@modmuss50 modmuss50 merged commit 69e331e into FabricMC:1.20.2 Sep 18, 2023
@SyedOmarNoor
Copy link

is this related to this? https://github.com/orgs/FabricMC/discussions/3391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working merge me please Pull requests that are ready to merge priority:high High priority PRs that need review and work now. Review these first.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants